[INFO] cloning repository https://github.com/txtr/ticktacktoe.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/txtr/ticktacktoe.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxtr%2Fticktacktoe.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxtr%2Fticktacktoe.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bd414e42e941724cad936d4568a9c1f05ebe4e50
[INFO] building txtr/ticktacktoe.rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxtr%2Fticktacktoe.rs" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/txtr/ticktacktoe.rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/txtr/ticktacktoe.rs
[INFO] finished tweaking git repo https://github.com/txtr/ticktacktoe.rs
[INFO] tweaked toml for git repo https://github.com/txtr/ticktacktoe.rs written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/txtr/ticktacktoe.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11522309b18b08a9959791d93f9faf8c5273302d51cdae2115868e8f871ea386
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "11522309b18b08a9959791d93f9faf8c5273302d51cdae2115868e8f871ea386", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11522309b18b08a9959791d93f9faf8c5273302d51cdae2115868e8f871ea386", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11522309b18b08a9959791d93f9faf8c5273302d51cdae2115868e8f871ea386", kill_on_drop: false }`
[INFO] [stdout] 11522309b18b08a9959791d93f9faf8c5273302d51cdae2115868e8f871ea386
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 600a3d263d340655458a63597a08bd82c40be1aea8e5369059c4a98c86574c40
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "600a3d263d340655458a63597a08bd82c40be1aea8e5369059c4a98c86574c40", kill_on_drop: false }`
[INFO] [stderr]    Compiling ticktacktoe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |             if (row_i != BOARD_SIZE - 1) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_i`
[INFO] [stdout]    --> src/main.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let game_i: usize = 1;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/main.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let game: Game = Game::new(&mut players.0, &mut players.1);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ended`
[INFO] [stdout]   --> src/main.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut ended: bool = false;
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_ended`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut ended: bool = false;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let mut board = Board::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `player_1` does not live long enough
[INFO] [stdout]    --> src/main.rs:158:56
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let players: (&'static Player, &'static Player) = (&mut player_1, &mut player_2);
[INFO] [stdout]     |                  ----------------------------------    ^^^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  type annotation requires that `player_1` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 169 | }
[INFO] [stdout]     | - `player_1` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `player_2` does not live long enough
[INFO] [stdout]    --> src/main.rs:158:71
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let players: (&'static Player, &'static Player) = (&mut player_1, &mut player_2);
[INFO] [stdout]     |                  ----------------------------------                   ^^^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  type annotation requires that `player_2` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 169 | }
[INFO] [stdout]     | - `player_2` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `players.0` as mutable, as `players` is not declared as mutable
[INFO] [stdout]    --> src/main.rs:167:36
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let players: (&'static Player, &'static Player) = (&mut player_1, &mut player_2);
[INFO] [stdout]     |         ------- help: consider changing this to be mutable: `mut players`
[INFO] [stdout] ...
[INFO] [stdout] 167 |         let game: Game = Game::new(&mut players.0, &mut players.1);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `players.1` as mutable, as `players` is not declared as mutable
[INFO] [stdout]    --> src/main.rs:167:52
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let players: (&'static Player, &'static Player) = (&mut player_1, &mut player_2);
[INFO] [stdout]     |         ------- help: consider changing this to be mutable: `mut players`
[INFO] [stdout] ...
[INFO] [stdout] 167 |         let game: Game = Game::new(&mut players.0, &mut players.1);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0596, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ticktacktoe`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "600a3d263d340655458a63597a08bd82c40be1aea8e5369059c4a98c86574c40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "600a3d263d340655458a63597a08bd82c40be1aea8e5369059c4a98c86574c40", kill_on_drop: false }`
[INFO] [stdout] 600a3d263d340655458a63597a08bd82c40be1aea8e5369059c4a98c86574c40
